//
//  ViewController.m
//  Preventdoubleclicking
//
//  Created by 红嘴欧 on 2018/6/28.
//  Copyright © 2018年 person.qing. All rights reserved.
//

#import "ViewController.h"
#import "UIControl+Click.h"

@interface ViewController ()
{
    int i;
    __weak IBOutlet UIButton *test;
}
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    i=0;
    test.responseInterval = 5;
}

- (IBAction)click:(id)sender {
//    i++;
    NSLog(@"%d",3);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
